<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <canvas id="bezier" width="300" height="200"></canvas>
  <script>
    let bezier = document.getElementById('bezier')
    let ctx = bezier.getContext('2d')
    ctx.strokeStyle = '#9013FE'
    ctx.beginPath()
    ctx.moveTo(173,126)
    ctx.bezierCurveTo(117, 87, 96, 260, 149, 237)
    ctx.stroke()

  </script>
</body>
</html>